package sc.common.test.hopper.core;

import org.jboss.netty.channel.group.ChannelGroup;

import sc.common.test.hopper.enums.Verb;
import sc.common.test.hopper.model.MyMessage;

public class Server {
	
	ChannelGroup clients;
	
	public Server(ChannelGroup clients){
		this.clients = clients;
	}
	
	public void send(){
		MyMessage message = MyMessage.new4send();
		message.setVerb(Verb.Great);
		clients.write(message);
	}
}
